/**
 * Created by jonny on 12/23/15.
 */
app.controller('orderPrintContorller', ['$scope', 'lineOrderService', '$stateParams', function ($scope, lineOrderService, $stateParams) {
    $scope.detail= {}
    //获取订单所有信息
    lineOrderService.detail($stateParams).then(function(result){
        $scope.detail = result;
        console.log($scope.detail);
    })

}]);